<template>
	<view>
		<u-navbar leftText="申诉" @rightClick="rightClick" :autoBack="true" placeholder :safeAreaInsetTop="true"
			bgColor="#F4FAF7">
		</u-navbar>
		<view class="wp">
			<view class="m-appeal1">
				<mList2>
				</mList2>
			</view>
		</view>
		<view class="m-appeal2">
			<view class="tit">申诉信息</view>
			<view class="innner">
				<view class="group">
					<view class="left">
						<view class="span">*</view>申诉类型
					</view>
					<view class="right">
						<picker @change="bindPickerChange" :value="index" :range="array">
							<view class="uni-input num2">{{array[index]}}</view>
						</picker>
						<u-icon name="arrow-right" color="rgba(28, 39, 76, 0.6)"
								size="12"></u-icon>
					</view>
				</view>
				<view class="group">
					<view class="left">
						<view class="span">*</view>申诉内容
					</view>
				</view>
				<view class="textbox">
					<textarea class="text"></textarea>
					<view class="upbox">
						<u-upload
						  :fileList="fileList3"
						  @afterRead="afterRead"
						  @delete="deletePic"
						  name="3"
						  multiple
						  :maxCount="10"
						  :previewFullImage="true"
						   width="100%"
						    height="100%"
						>
						<view class="box">
						<image class="icon" mode="widthFix" :src="imageUrl +'list/camera2.svg'">
						</image>
						<view class="p">
							上传图片
						</view>
							
						</view>
						</u-upload>
					</view>
				</view>
				<view class="info">
					注：提交后将在两个工作日内处理申诉，请您耐心等待！
				</view>
			</view>
		</view>
		<view class="g-ht"></view>
		<view class="g-dwbtn g-dwbtn2">
			<!-- <button class="btn1 btn3">提交</button> -->
			<navigator url="/pages/order/paysucc" class="btn1 btn3" hover-class="none">提交</navigator>
		</view>
	</view>
</template>

<script>
	import mList2 from '@/components/m-list2.vue';
	export default {
		components: {
			mList2
		},
		data() {
			return {
				array: ['请选择', '类型1', '类型2', ],
				index: 0,
				fileList3: [{ url: 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/shuijiao.jpg', }],

			}
		},
		methods: {
			bindPickerChange: function(e) {
				console.log('picker发送选择改变，携带值为', e.detail.value)
				this.index = e.detail.value
			},

		}
	}
</script>

<style>
	page {
		background-color: #F4FAF7;
	}
</style>